package shiqi.AdapterPattern.object;

public class CipherAdapter extends DataOperation {

    private Caesar caesar;
    @Override
    public String doEncrypt(int key, String ps) {
        return caesar.doEncrypt(key,ps);
    }

    public void setCaesar(Caesar caesar) {
        this.caesar = caesar;
    }
}
